package com.syni.mdd.sjb.common.component.utils.feign.service.mddAll;

import com.syni.mdd.sjb.common.component.utils.feign.constants.Constants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * @className StudyService
 * @description TOO
 * @Author cfx
 * @DATE 2020/3/1 15:13
 * @VERSION 1.0
 **/
@FeignClient(value = Constants.MDD_DSP_API,path = Constants.MDD_DSP_API_PATH)
public interface VideoInsideRestService {

    //对应要调用的client-user微服务控制层请求方法
    @GetMapping("/video/videoDetail")
    Map<String,Object> videoDetail(Integer videoId);
}
